package com.req;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

@Data
public class ArticalReq {
    @ApiModelProperty("操作,add:增，del:删，update:改，query:查")
    private String handle;

    private Long id;
    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;
    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String descre;

    /**
     * 创建人ID
     */
    private String userId;
    private String crName;
    @ApiModelProperty("图片集" )
    private String imgs;
    @ApiModelProperty("预览图")
    private String preImg;
    @ApiModelProperty("是否发布")
    private String isSend;
    @ApiModelProperty("资源链接")
    private String resourceLink;
    @ApiModelProperty("资源文件")
    private String resourceFile;
    @ApiModelProperty("是否自建")
    private String isSelf;

    private  Integer count;
    @ApiModelProperty("频道Id")
    private Long[] channelId;
    private String origin;
    @ApiModelProperty("其他网站的预览图")
    private String otherPre;
    @ApiModelProperty("其他网站的资源文件")
    private String otherResourceFile;

    @ApiModelProperty("网络图片集" )
    private List<String> netImgs;
    @ApiModelProperty("网络预览图")
    private List<String> netpreImg;
    @ApiModelProperty("网络资源文件")
    private List<String> netresourceFile;


    /**
     * 自建
     */
    public static final String SELF = "self";
    /**
     * 采集
     */
    public static final String COLLECT  = "collect";

}
